
/** 
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
package com.tompai.echarts.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.tompai.echarts.logger.Log;

/**
* @desc: websocket-demo
* @name: EchartsController.java
* @author: tompai
* @email：liinux@qq.com
* @createTime: 2021年1月31日 下午12:33:47
* @history:
* @version: v1.0
*/
@Controller
@RequestMapping("/demo")
public class EchartsController {
	
	@GetMapping("/monitor")
	public String monitor(ModelMap map) {
		return "echarts/monitor/home";
	}

	@GetMapping("/theme")
	public String basic(ModelMap map) {
		return "echarts/basic_theme";
	}

	@GetMapping("/ecl1")
	public String line1(ModelMap map) {
		return "echarts/line1";
	}

	@GetMapping("/ecl2")
	public String line2(ModelMap map) {
		return "echarts/line2";
	}

	@GetMapping("/ecl3")
	public String line3(ModelMap map) {
		return "echarts/line3";
	}

	@GetMapping("/ecl4")
	public String line4(ModelMap map) {
		return "echarts/line4";
	}

	@GetMapping("/ecl5")
	public String line5(ModelMap map) {
		return "echarts/line5";
	}

	@GetMapping("/ecb2")
	public String bar2(ModelMap map) {
		return "echarts/bar2";
	}

	@GetMapping("/ecb3")
	public String bar3(ModelMap map) {
		return "echarts/bar3";
	}

	@Log("测试空")
	@GetMapping("/ecb4")
	public String bar4(ModelMap map) {
		return "echarts/bar4";
	}

	@Log("测试空")
	@GetMapping("/ecb41")
	public String bar41(ModelMap map) {
		return "echarts/bar4_1";
	}

	@GetMapping("/ecb5")
	public String bar5(ModelMap map) {
		return "echarts/bar5";
	}

	@GetMapping("/ecb6")
	public String bar6(ModelMap map) {
		return "echarts/bar6";
	}

	@GetMapping("/ecb7")
	public String bar7(ModelMap map) {
		return "echarts/bar7";
	}

	@GetMapping("/ecb8")
	public String bar8(ModelMap map) {
		return "echarts/bar8";
	}

	@GetMapping("/mk1")
	public String mark1(ModelMap map) {
		return "echarts/mark1";
	}

	@GetMapping("/mk2")
	public String mark2(ModelMap map) {
		return "echarts/mark2";
	}

	@GetMapping("/mk3")
	public String mark3(ModelMap map) {
		return "echarts/mark3";
	}

	@GetMapping("/ld1")
	public String leida1(ModelMap map) {
		return "echarts/leida1";
	}

	@GetMapping("/ld2")
	public String leida2(ModelMap map) {
		return "echarts/leida2";
	}

	@GetMapping("/ld3")
	public String leida3(ModelMap map) {
		return "echarts/leida3";
	}

	@GetMapping("/ld4")
	public String leida4(ModelMap map) {
		return "echarts/leida4";
	}

	@GetMapping("/rl1")
	public String rili1(ModelMap map) {
		return "echarts/rili1";
	}

	@GetMapping("/rl2")
	public String rili2(ModelMap map) {
		return "echarts/rili2";
	}

	@GetMapping("/rl3")
	public String rili3(ModelMap map) {
		return "echarts/rili3";
	}

	@GetMapping("/gx1")
	public String guanxitu1(ModelMap map) {
		return "echarts/guanxitu1";
	}

	@GetMapping("/gx2")
	public String guanxitu2(ModelMap map) {
		return "echarts/guanxitu2";
	}

	@GetMapping("/gx3")
	public String guanxitu3(ModelMap map) {
		return "echarts/guanxitu3";
	}

	@GetMapping("/gx4")
	public String guanxitu4(ModelMap map) {
		return "echarts/guanxitu4";
	}

	@GetMapping("/gx5")
	public String guanxitu5(ModelMap map) {
		return "echarts/guanxitu5";
	}

	@GetMapping("/tr1")
	public String tree1(ModelMap map) {
		return "echarts/tree/tree1";
	}

	@GetMapping("/tr2")
	public String tree2(ModelMap map) {
		return "echarts/tree/tree2";
	}

	@GetMapping("/tr3")
	public String tree3(ModelMap map) {
		return "echarts/tree/tree3";
	}

	//
	@GetMapping("/yb1")
	public String yb1(ModelMap map) {
		return "echarts/yibiaopan/yb1";
	}

	@GetMapping("/yb2")
	public String yb2(ModelMap map) {
		return "echarts/yibiaopan/yb2";
	}

	@GetMapping("/yb3")
	public String yb3(ModelMap map) {
		return "echarts/yibiaopan/yb3";
	}

	@GetMapping("/yb4")
	public String yb4(ModelMap map) {
		return "echarts/yibiaopan/yb4";
	}

	@GetMapping("/yb5")
	public String yb5(ModelMap map) {
		return "echarts/yibiaopan/yb5";
	}

	@GetMapping("/yb6")
	public String yb6(ModelMap map) {
		return "echarts/yibiaopan/yb6";
	}

	@GetMapping("/yb7")
	public String yb7(ModelMap map) {
		return "echarts/yibiaopan/yb7";
	}

	@GetMapping("/yb8")
	public String yb8(ModelMap map) {
		return "echarts/yibiaopan/yb8";
	}

	@GetMapping("/yb9")
	public String yb9(ModelMap map) {
		return "echarts/yibiaopan/yb9";
	}

}
